When a pilot here in the U.S. boards their plane for their assigned flight, there is a bar code on the wall of the galley before entering the cockpit. I would just hold my iPad up to that bar code, take a picture of it using the app and my flight plan would appear. Then, we just compare the flight plan that the company has also filed with the FAA. Both must match before we can depart. If they both match, we enter the flight plan into the FMS (Flight Management System), which is that small computer that sits in the console between the two pilots. Each pilot has his/her own FMS.
Even so, it is still possible to land at the wrong airport. New York City has three airports and Tetterboro, NJ is just across the river from NYC. I have known pilots, especially in small commuter and private jets, that have become confused and have landed at the wrong airport. If the pilot and the Air Controller both are not paying attention, it is possible that the pilot could get vectors to the wrong airport in that area, especially if the pilot has already locked onto the localizer for the ILS.
Sounds confusing, I know. But, my point is that it can and does happen. In fact, it had happened several years ago to some of the bigger planes, but never the wrong airport in the wrong country.