As said the airport is not designed for US-US connection. You will definately need to clear both Canada and U.S. immigration if connecting within T3 or T3-T1 vv. And you will need to clear U.S. INS and most likely Canada Immigration as well if you connect within T1.