We did ban non-essential travel, but Canadians have a right of entry to Canada. If you're coming back, we have to respect your charter and mobility rights. Even though we banned foreign nationals for non-essential travel, certainly Canadians all over the world had a right of entry.
On April 20th, 2021. See this statement in context.