In general, I've found that a few minutes spent studying a highway map prior to a trip to an unfamiliar location pays off many times in gas and time saved getting there.
Mine can be programmed to give the shortest distance or the quickest trip.It can also be programmed to avoid toll roads.I don't know if it can be programmed to avoid national borders but if it can it must default to "don't avoid borders" because of what I described above.