Taking out the leader of an opposing military force would not necessarily be a sin.
But also, Zelensky is not a particularly easy man to kill. I imagine he has taken enormous precautions in that regard.
According to former Israeli PM Bennett, Z was pretty scared of being taken out 2 years ago, even trying to use him as a go-between to Putin. Somehow he got over it, maybe he figured that Putin was not after him