For a quantity to be a vector, magnitude and direction are not the only sufficient conditions. Rotation of a body is specified by direction. But, it is not necessary that it is always a vector quantity. Finite rotation of a body about an axis is not a vector because finite rotation does not obey the laws of vector additions. Only infinitesimally small rotation is a vector quantity.