Upvote:9
I'm allowed or not to go outside of the airport
Generally that's allowed.
However, there are few points to consider
Depending on what time you arrive, you may have to clear Canadian customs anyway. See https://www.yvr.ca/en/passengers/navigate-yvr/passenger-guides?route=INTERNATIONAL%7CINTERNATIONAL&airline=19