My question is a simple one:

Is there any way to make an array structure a part of a condition?

For example:
Code:
If array = {0,1,2,3} Then
...
or
Code:
If array1 = array2 Then
...
Thanks in advance.