Nope, you bypass Canadian customs (as I did on my recent trip) and pre-clear US immigration in YYZ which actually makes YYZ even more attractive as you can use your connection time to endure the tedious formalities and then go straight out of the airport at the final destination just like a domestic passenger.