I can't say I've noticed foreigners pronounce them the same.
In rapid speech, 'my ear' and 'my year' can sound exactly the same.
'I enjoyed my year in Spain.' 'I don't like this buzzing in my ear.'
But you should hear a difference between 'her ear' and 'her year', and 'one ear' and 'one year'.
Interested in Language