If the state is going to keep a known crazy locked up, they probably have to accept some responsibility for making sure he doesn’t kill himself.
If someone is hell bent on committing suicide, they will do it and no hospital or correctional facility will be able to stop them.