This is getting interesting, please fasten your seatbelts boys and girls ...
Here are some quotes:
It is illegal to discriminate against you because you are a foreigner. However, in court it is your burden to show you were discriminated against because you are non American, and not for someother reason.
And there may be some exceptions, some jobs where an American is required.. However, I would doubt piloting an airplane is one of them.
On the other hand, it depends on your type of VISA as well. Sometimes the employer must give preference to equally qualified American citizens.
7 7 7 7