Rabbi Herschel Schachter writes in his book "Nefesh Harav" (p. 233) that
Rabbi J.B. Soloveitchik's students once approached him about hypnotism. He
said that it was not allowed because it was considered "shtus"
(foolishness). This point gives an additional angle to the ruling that
magic is in fact prohibited.
G.S.