AC 118 then AC 772 at Toronto Pearson
Vancouver → Toronto → Boston
Timetable, Toronto time
23:59AC 118 from Vancouver at the gate
20:55AC 772 to Boston leaves the gate
20 h 56 apart on the timetable, overnight
AC 772 leaves 20 h 56 after AC 118 arrives on the timetable: more than half a day, so not a connection we count.