input: from typing import List
  
  def generate_random_array() -> List[List[int]]:
      """ Generate a 3x3 array of random integers ranging from 1 to 5 using NumPy.
      >>> generate_random_array()
      [[1, 3, 2],
       [4, 5, 1],
       [2, 3, 5]]
      """
output:     import numpy as np
      return np.random.randint(1, 6, (3, 3)).tolist()