Generate a Python program that determines whether a given array is a palindrome or not.
[3,2,1,1,2,3]
def is_palindrome(arr):
    if arr == arr[::-1]:
        return True
    return False

result = is_palindrome([3, 2, 1, 1, 2, 3])
print(result) # Output: True