Yes, it is illegal to text and drive. It is also illegal to be on any social media, or read any text messages while you are driving.