Usually you can shoot a match without joining the USPSA or IDPA. However, if you want to get ranked, and all that good stuff, a membership isn't such a bad thing.
The match rules will determine if you need to join or not. Around here it's $25 to $50 for a match. The state match is $100. for 3 gun.