online casino gambling laws

resident of the United States has a foreign online casino … Legal?
I wonder. I know that online gambling is illegal in the U.S. but legal in many other places. So tell me, what happens if a resident of the United States is an online casino based in a place where it is legal and has all applicable licenses and secured to prevent U.S. customers to enter the online casino? Is it legal, since he himself is not operating an online casino from U.S. territory or simply because it is illegal online gambling laws in the U.S.?
No, a resident of the United States is subject to U.S. laws.
Truth Behind the Online Gambling Ban