What airline are you flyng into YYZ and out of?
There is airside transit US arrival to intl departure in T1.
My guess on your intinerary is that you are flying into YYZ with DL who arrives into T3 which does not have airside transit. So you have to enter Canada and be admissible.