Yes, matched betting is legal in every US state where online sports betting is legal, as long as you use licensed sportsbooks and exchanges. It is ordinary betting on both sides of a game under the sportsbook's own published offer, so the method itself has no separate legal status.
Here is the reasoning behind that answer, not just the answer itself.
Why it is legal
Matched betting is not a separate activity with its own legal status. It is placing ordinary, legal wagers, using a sportsbook's own published promotional terms, at operators licensed in your state. Nothing about the method itself, covering one side of a promotion with a bet at a different book or exchange, is a distinct legal category. You are doing exactly what a licensed sportsbook allows any customer to do, just doing it deliberately and with the math worked out ahead of time.
There is no law against using a promotion the way its own terms describe. Sportsbooks write these terms, publish them, and pay out according to them daily to ordinary customers. Using them precisely, rather than loosely, is not a legal distinction, it is a difference in how carefully you are reading the fine print.
Where the actual boundary is
The real legal question is not about the method, it is about the state and the operator. Sports betting is legal in a growing but still limited set of states, and only through operators actually licensed there. If you are not in a state with legal, licensed sports betting, the issue is that sports betting itself is not available to you there, not that matched betting specifically is prohibited. Using an offshore or unlicensed operator is a separate problem, and a real one, but it has nothing to do with the matched betting method itself, it is the same problem anyone placing any bet through an unlicensed operator would have.
Always confirm your own state currently has legal, licensed sports betting before signing up anywhere. This changes over time as more states legalize, so treat any specific state list as something to verify fresh rather than something fixed.
Are you breaking the sportsbook's own rules
This is a different question from legality, and worth separating out clearly. Using a welcome promotion exactly as published, then hedging it at another book or exchange, does not violate the sportsbook's terms. You placed the qualifying bet they asked for, and what you do with your own money and the resulting bonus bet at a separate business is not something their terms restrict.