There are edible mushrooms which are really hard to ID, but you just don’t try to eat those.
Most people don’t go after the tasty Sheathed woodtuft (Kuhernomyces mutablis) because the risk of confusing it with the deadly funeral bell (Galerina marginata)








Boiling and changing the water removes the psychoactive compounds as well as the ones that keep you on the toilet all day if you’ve done it correctly (both are water-soluble). At that point it’s just a culinary mushroom.
People who are “detoxifying” it to use as a drug bake it at a low temperature which does a poor job of removing any of the toxic or psychoactive compounds so they get a bad high and end up on the toilet half a day (seriously, just order some cube spores or something if IDing good actives is too hard).