Hello. A "wandering mind" is when someone is not paying attention to the present moment. They are thinking of other things. For example, in a classroom, when a teacher wants the students to listen to her, a student may have a wandering mind, thinking of many other things, not what the teacher is saying.
By the way, a better way to ask your question is like this:
What does "A wandering mind mean".
"What means a wandering mind" is not correct English, but it's good to keep asking your questions. Have a good day.