Mental illness is one of the things that is quite complicated, especially in its regulation in the field of law, there must be a good and effective special arrangement or treatment for offenders with mental illness in the process of punishment to punishment and action, based TRAY on that, a comparative study can be carried out to find out the advan