Thoughtworks asked me talk about a time I've been discriminated against in their culture fit interview. One of the worst interviewing experiences I've had.
You may want to contact a lawyer about suing them for asking, but I'm not sure how that works.
The above applies to the US. If you are in a different country then you need to check your local laws.