How to declare an array of hexadecimal values?

Use the inside operator. See section 18.5.3 Set membership in the 1800-2012 LRM