From anecdotal reports, it seems that mushrooms forces one into an active thought space (like dropping someone of at the gym with a program for them to follow), such that one is more likely to engage with ones own thoughts, and is capable of interpreting them, recasting them, accepting or letting them go.
The idea of "rewiring" seems a bit too far, since rewiring cannot be achieved instantly.