mid-14c., "mockery, scorning, derision;" late 14c., "act of deception; deceptive appearance, apparition; delusion of the mind," from Old French illusion "a mocking, deceit, deception" (12c.), from Latin illusionem (nominative illusio) "a mocking, jesting, jeering; irony," from past-participle stem of illudere "mock at," literally "to play with," from assimilated form of in- "at, upon" (from PIE root *en "in") + ludere "to play" (see ludicrous). Sense of "deceptive appearance" first developed in Church Latin. Related: Illusioned "full of illusions" (1920).
word-forming element meaning "one who does or makes," also used to indicate adherence to a certain doctrine or custom, from French -iste and directly from Latin -ista (source also of Spanish, Portuguese, Italian -ista), from Greek agent-noun ending -istes, which is from -is-, ending of the stem of verbs in -izein, + agential suffix -tes.
Variant -ister (as in chorister, barrister) is from Old French -istre, on false analogy of ministre. Variant -ista is from Spanish, popularized in American English 1970s by names of Latin-American revolutionary movements.
<a href="https://www.etymonline.com/word/illusionist">Etymology of illusionist by etymonline</a>
Harper, D. (n.d.). Etymology of illusionist. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/illusionist