When creating the custom state, just set it to be a list. If the postal codes are text, just select the type text and the check box for list as you’re creating the custom state. Once the custom state is a list, ignore the ‘first’, ‘last’ or ‘random item’ as you create the expression for the value of the custom state you won’t get an error in your expression