First, please refrain from double posting.
To answer your question, the items themselves are not the ability. If you look in object editor, you will notice that there is a field under items for their abilities. Look under the wand of illusion, and find the name of the ability, the properties of these item abilities are in the abilities tab with all other abilities.
You will find said ability under the "Special" folder in the abilities tab. Just look for the specific ability. From here you can modify this spell to be a hero or unit spell, then treat it like a normal ability.