YVR used to have a direct connection from incoming flights to US immigration, a fact I discovered during the "limited industrial action" that canceled the New York leg of that trip.
Unfortunately...9/11 closed that it seems. I have asked, and have been told, that it is still closed.
(but what I'm told is not always right....)