Not in and of itself, no. Of course it would be unable to cast spells, or to use any of its abilities that are specifically noted as magical. It looks like the only abilities it would lose (beyond spells) are the Frightening Gaze and Disrupt Life legendary actions. Pretty much restricted to paralyzing touch.