Bingo’s analogy about mental illness being no different than a physical malady is apt and one I use myself quite often. Of course, in the legal realm it’s hard to say what should and shouldn’t be done, but in terms of how its treated by society and healthcare, it should be the same. You don’t tell someone with a broken femur to just “walk it off” or “get over it” because that’s ridiculous, and it should be the same with depression or schizophrenia or any mental illness.
It should definitely not be treated the same as physical injury. The body can recover from many physical injures by itself usually after a short hospital treatment (i.e. you can “walk it off”). Mental illness is way more serious, usually does not just go away and should be given more attention.
Nevertheless, my point was that you cannot just turn a blind eye when someone is breaking a law, like Bingo suggested.