While the federal law considers gambling legal, there are plenty of restrictions attached and each state free to allow or prohibit the practice on its own territory.
The ambiguous laws make the question of gambling legality in the US not-so-easy to answer. Live Casino Gambling in The United States