If i understand correctly, you want to know, if all values in Array 1 are present in Array 2.
Then you could use something like this:
func array_in_array(find : Array, in_array : Array) -> bool:
for value in find:
if not value in in_array:
return false
return true
this iterates over the frist array, and return false if i cant fint it.
if no value returns false, it returns right, because every value has bin found.
Example:
func _ready() -> void:
print(array_in_array([1, 2], [1, 2, 3, 4, 5, 6]))
print(array_in_array([3, 5, 7], [1, 2, 3, 4, 5, 6]))
Output:
True
False
EDIT:
Warning: this can make your game very slow, if you search in big arrays!