Citation pls?
It would be legal if you can prove in court that IQ is reasonably related to the job.
Reply on news.ycombinator.com