One part of the science involves studying people who have had parts of their brains damaged through illness or accident; one of its overall findings that many people find surprising is what little pieces our brains functionality is broken down into. For instance, there are portions of your brain which match the emotional feeling to the visual input; when this system is damaged, you look at your family and feel nothing. (This in turn leads to a belief that your family has been replaced by impostors -- they look the same and sound the same but feel difference.)
Relevant to your drug trip, there are also parts of the brain responsible for "the feeling that your are in your body". When these parts of your brain are inhibited -- for instance, by a drug -- you feel detached from your body.
All of which is to say, you may find it interesting to study how your mind works from the outside looking in, through cognitive psychology, instead of from inside looking out during a drug trip :-)
When I was younger, I had hypoglycemia (low blood sugar). Whenever my blood sugar would start crashing, I could actually feel my brain functions start shutting down, in a rough order from highest to lowest.
First I would have trouble with concentration and attention. I would feel 'spacey'. Lots of things can cause this though, so I didn't always realize it was a blood sugar problem and that I needed to eat something.
The next thing to go would be my ability to process language. Usually when someone is speaking to you in your native language, you aren't really conscious of the difference between 'hearing a sound' and that sound having meaning. Someone is talking and the meaning just forms in your head. But when my blood sugar started dropping, English would start sounding like a foreign language. It was all just sounds. The sounds had the rhythm of language, but not one I understood anymore.
And then when I tried to speak, I would clearly form the intent of speaking certain words and completely different ones would come out of my mouth. Before I knew that it was hypoglycemia, I had an episode once in high school where I knew something was wrong, and I was repeating the words 'I need to visit the nurse' over and over in my head, but when I managed to speak, all I could say was 'I don't feel good' before I lost control and started sobbing. Laughing or crying uncontrollably happens right before I black out.
also we have a very aggressive "de-duplication" going on, again without any consideration given to time, that result in experiences with similar elements blurring into each other.
I'm reminded of that quote from Dune: "I'll miss the sea. But a man needs new experiences. They jar something deep inside, allowing him to grow. Without change, something sleeps inside of us and seldom awakens. The sleeper must awaken."
The description of Sherlock wandering through his mind palace as if it were some kind of virtual reality reminds me of what I experienced during a bad acid trip in college. If I looked at some object and tried to remember details about it I would "see" this multidimensional spatial array of all similar objects that I had in my memory with them sorted along each dimension by some attribute of the objects, and then I could "see" a search take place along each dimension to find the memory that best matched the object I was looking at. When the match was found, I could feel the data load from the memory to my awareness.
Basically, it seemed on this trip that the part of my mind that is "me" had become kind of detached from the rest of my mind and could watch how the rest worked. Another example: when someone spoke, I first would hear just nonsense sound, then I'd hear a replay but this time as phonemes, then I'd hear them replay again but this time as words, then I was aware of some kind of parsing going on and them the "me" part would be aware of the thought the speaker was trying to convey. (And this might also trigger an attempt to remember who the speaker was, which would do that whole spatial array thing I described in the prior paragraph).
I have no idea if this experience was just some random thing my brain made up due to the effects of the acid, or if it really does have some connection to how memory works and/or how language is processed.
I didn't try to do any experiments with memory perception while tripping after that, because I never dropped acid after that trip. I'd noticed that my last several trips had felt like context switched between the real world and the tripping world. When I'd trip, I'd kind of pick up where I left off in the tripping world the previous time. Since my last trip had turned bad, I was worried that tripping again would just pick up where I left off, and so never touched acid (or any other hallucinogen) again.