If you target two cards and one of the targeted cards becomes illegal, you’ll still return the other one, discard a card, and exile Shreds of Sanity. If each targeted card becomes illegal, Shreds of Sanity doesn’t resolve and you won’t discard a card or exile Shreds of Sanity.

Artwork
Loading artwork…
Shreds of Sanity
Eldritch Moon · #141 · EN
Nonfoil—Foil—
Card rules
Return up to one target instant card and up to one target sorcery card from your graveyard to your hand, then discard a card. Exile Shreds of Sanity.
A few gnawing thoughts can eat at the mind until nothing else remains.
Uncommon · Illustrated by Yeong-Hao Han
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
You may discard one of the cards you return to your hand. If you have no other cards in hand, you must discard one of the cards you return to your hand.
You may cast Shreds of Sanity with just one target. You may also cast it without any targets if you just want to discard a card.