Murder is it rational?...

Now i dont do psychology so i just have a question to those who know…

Do you believe that you can be in a rational state of mind and commit murders…so is that serial killer a rational human being?..is someone who kills someone who sleeps with his sister a rational human being?..we accept those who take their own lives as being irrational people…where does medical analysis stand on those who take lives?..