There are many highly functioning people who have mental illnesses. I mean look at Hollywood. All have borderline personality disorders but still free to roam.
But, people with SEVERE problems need to be very closely monitored.
Whomever was treating this guy needs to be looked into.