In school, I knew a very smart person who got into drugs, especially MDMA. They later got clean, but when they got brain imaging done for some reason, a doctor who looked at it said they could tell the patient had done a lot of MDMA. Reportedly, the damage was visible on the imaging, and it was characteristic.
I'm sorry that my friend had to learn the hard way, and I'm glad that I was always too scared of drugs to try any myself.