If the target permanent is an illegal target as Eject tries to resolve, it won't resolve and none of its effects will happen. You won't draw a card.

Artwork
Loading artwork…
Eject
Final Fantasy · #52 · EN
Nonfoil—Foil—
Card rules
This spell can't be countered.
Return target nonland permanent to its owner's hand.
Draw a card.
Uncommon · Illustrated by Ramza Psyru
Format legality
Alchemy Legal
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Future Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Vintage Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions