Someone with a mental illness that causes them to kill should not be put to death.
It's not their fault that they are mentally ill anymore than it's the fault of the woman who gets breast cancer.
Lock the person up for their safety and the safety of everyone else.
But don't kill them. It's just not right.