That’s not true. He could have made it apart of his contract that he only do work in America, or whatever location he wishes to list.
Actors do it all the time. And a “A” lister like Leo could EASILY have that demand included.
Filming in Canada passing as various American locations is very common and has been for a long time. Toronto has passed as NYC or Chicago many a time. It’s a financial issue.