Given below are a legal principle and a factual situation. Apply the given legal principle to the factual situation and select the most appropriate answer to the question given below:
Legal Principle : Nothing is an offence which is done by a person who, at the time of doing it by reason of unsound state of mind, is incapable of knowing the nature of the act or something that he is doing is either wrong or contrary to law.
Fact: X takes his son Y who is three years old, for bathing to the well. He throws his son inside the well so that the son can have a good bath. After 10 minutes, he also jumps into the well to take bath and get his son out of the well. Both were rescued by the villagers but his son was found dead.