If true, that's a violation of the fair housing act, for which you can and should sue. But taken in conjunction with your other post in this thread, I'm a bit skeptical.
I don't think it's illegal where I live. I can send you the email I received from Thoughtworks when I was based in the USA if you like. You don't seem to have an email in your profile though.