No, it's not illegal to send nude photos to other people providing both parties of are of legal age. Sending or receiving a sexual picture to/from a minor is illegal and could potentially cause legal repercussions. Always ensure the person on the other end of your messages is above the age of 18 before sharing nudes.