Pretty much any gym allows you to visit just once. If you feel like bullshitting you can say you're thinking to join and that usually lands you a free workout. Otherwise, most people let you in with a fee which is usually between $10 and $30 / workout.