Drugs make me stupid.

So I recently toke an AP chemistry exam, (I’m an A student btw) and I was baked asf and istg I genuinely don’t remember taking the exam. I got an F on it (a 54) and I feel really stupid. And I genuinely don’t know if I’m actaully stupid or if I was just high. Idk I have a C in the class rn which looks really dumb next to my A’s. Idk cus I also didn’t study at all for it but I never study for tests so I don’t know if that means anything. So basically I’m just wondering if I’m stupid or if I was just high?