The effect is best understood if you read it as "creatures not in the chosen pile can't attack."

Artwork
Loading artwork…
Fight or Flight
Invasion · #16 · EN
Nonfoil—Foil—
Card rules
At the beginning of combat on each opponent's turn, separate all creatures that player controls into two piles. Only creatures in the pile of their choice can attack this turn.
Rare · Illustrated by Randy Gallegos
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Penny Legal
PreDH Legal
Premodern Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Pioneer 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
Creatures which enter (or cards which become creatures) after the beginning of combat ability resolves are not placed in either pile. Since they weren't in the chosen pile, they won't be able to attack.
If you have two of these, then you will separate the creatures into piles twice, and the opponent will choose a pile each time. Only creatures that were in both of the chosen piles can attack.