You are right that the market for gas in the United States is not completely free. That's why we're only paying $3 a gallon and not the $5 or $6 that Europeans pay.
BUT, the world-wide market is indeed an almost perfectly competitive market and oil will flow to wherever the retruns are greatest.