It’s also illegal in the US. Prospective employers cannot ask about your opinion or relations to labor organizations during job interviews.
The only exception is for trade unions since some jobs are required to use union labor and some employers use the membership as proof the individual is qualified for the job.
Y’all called people daddio.