That is incorrect.  

The Safe Third Country Agreement designating the USA only applies at the Port of Entry.  Once a refugee claimant has physically entered Canada whether legally of illegally then Canada's refugee determination system is engaged.