This is incorrect. Airline pilots also fall under the Railway Labor Act and require federal mediation before authorizing a strike vote. In the past the Feds have usually allowed strikes, but not always.
https://simpleflying.com/airline-labor-negotiations-guide/