You target three permanents as you cast Wild Swing. You don’t randomly choose which one will be destroyed until Wild Swing resolves. If one of those permanents has become an illegal target by then, you randomly choose between the other two. If two of those permanents have become illegal targets by then, there is no random choice — the remaining permanent is destroyed.

Artwork
Loading artwork…
Wild Swing
Shadowmoor · #108 · EN
Nonfoil—Foil—
Card rules
Choose three target nonenchantment permanents. Destroy one of them at random.
Though the shaman rarely got what she wanted, she was never disappointed in the result.
Uncommon · Illustrated by Richard Kane Ferguson
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
PreDH Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Pioneer Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
As Wild Swing resolves, there is no time to react between the time a permanent is chosen at random and the time it’s destroyed. If you want to put a regeneration shield on one of those permanents, or sacrifice it for some effect, or anything else, you must do so before Wild Swing resolves (and before you know which one of the permanents will be chosen at random).