When people say something is “an art”, they usually mean it’s a craft requiring skill or practice. A magical performance can have artistic merit, but not all do. The practice of the craft of magic is 90% learning and practice, isolated in your study- and that means 90% of magic isn’t strictly art- it’s craft.
In my opinion, magic is a craft that can be elevated to art by the skill and dedication of elite performers.