Human: check if two arrays are equal. Assistant: 
Here is a Python function to check if two arrays are equal

import numpy as np

def is_equal(a, b):
    """
    Check if two arrays are equal.
    """
    if len(a)!= len(b):
        return False
    for i in range(len(a)):
        if a[i]!= b[i]:
            return False
    return True

# Enter the arrays
a = np.array([1, 2, 3])
b = np.array([1, 2, 3])

# Calling the function
print((is_equal(a, b)))

#Example Output
# True

#Remember to inspect code for bugs.