Suicide MIGHT be a serious mental malfunction, but I believe it is entirely possible to kill oneself as the result of an entirely logical process. For example:
old, tired, ill, going to get worse, no dependants, so lets do it with a minimum of inconvenience to third parties and pain to myself.
Entirely logical I submit.