From the National Conference of State Legislators website, there is a summary of rules and laws in all states regarding possession of a firearm by people with mental illnesses.