Basic array checking