You mean: "Is it not illegal...?", right?
Regards,
It is illegal to ask about an applicants religion during a job interview.