Where citizenship is a condition of employment by statute, that condition is usually exempted under anti-discrimination legislation. For example, my little brother is an aerospace engineer designing for the JSF project - "Are you a citizen?" was pretty much the first interview question.