if with " Punishment" you mean jail time, the answer depend on what is the purpose of jail in your country.
If the target of jail is re-education, then it's right that mentally ills should be cured and not do jail time.
If, instead, the target of jail is punishment, then mentally ill or not, they have to pay for their crime.
In general, I am for punishment