1031 Exchange to Mexico??

Someone recently told me you can 1031 exchange to Mexico or Canada. Is this true?

If your investment property is located in the US, then you must exchange for another US investment property. A domestic property for a foreign property exchange is not allowed.

My research confirms this.