Speaking for myself when I play guitar I am totally present . My mind is not wandering I am not worried about the past or the future . I am just enjoying playing the guitar . I guess you could call it a type of meditation . The more songs I learn the more I enjoy being in the moment I am at the point where I am starting to listen to the music for chord changes as opposed to relying on the scrolling tablature
Here is a TED ED video on the benefits of playing music
https://ed.ted.com/lessons/how-playing-an-instrument-benefits-your-brain-anita-collins