If the first mode is chosen and the target card is an illegal target as Test of Loyalty tries to resolve, it won't resolve and none of its effects will happen. You won't draw a card.

Artwork
Loading artwork…
Test of Loyalty
Star Trek · #134 · EN
Nonfoil—Foil—
Card rules
Choose one —
• Plain, Simple Garak — Exile target card from a graveyard. Draw a card.
• Of the Obsidian Order — Return target creature card from your graveyard to your hand.
"Lately I've noticed that everyone seems to trust me. It's quite unnerving."
Uncommon · Illustrated by Bartek Fedyczak
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Future Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions