The Legendary Koraidon or Miraidon that you get at the start of the game cannot be traded. But you can get another one that can be. Full story from the iMore Blog...
Pokémon Scarlet and Violet: How to get a Koraidon or Miraidon that you can trade
iMore.com News Discussion & ContestsOriginal thread: https://forums.imore.com/threads/pok%C3%A9mon-scarlet-and-violet-how-to-get-a-koraidon-or-miraidon-that-you-can-trade.458282/