Patañjali, the great teacher of Yoga, has described in his Yogasūtras several siddhis or miraculous powers, which a yogi can obtain through saṁyama. The practice of dhāraṇā (fixing the mind on the object of meditation) and dhyāna (continuous flow of the mind—stuff towards it) ending in samādhi (superconscious experience) is called saṁyama.
When the yogi practises saṁyama upon the inherent capacity of his own body to be seen by others, thus controlling it, and by arresting its function, he becomes invisible to others. This siddhi is called antardhānatva. See Yogasūtras 3.21.