MTP is a legal procedure to terminate the pregnancy. However, if it is found that either of the parents was involved in knowing the gender of the child and decided to end the pregnancy out of dissatisfaction, it’s considered illegal and a strict punishment follows.