You don't need a membership to enter. Specifically, the Costco near me has a liquor store inside but can't legally have it be part of the store. It's a separate store within Costco, and they won't stop you from walking in, buying liquor, and leaving. You can even grab a cheap hot dog on the way