It means without speaking. That he does it only with thought. That he does it with the mind.
Mentally. ( adv . ) 1- Only with the mind or thought. . 2- Mentally. 3- From a mental point of view.