code: def generate_binary_random_number(size: int = 1) -> np.ndarray:
      """Generates a binary random number or array based on an uniform distribution.
  
      Args:
          size: Size of array.
  
      Returns:
          (np.ndarray): A binary random number or array.
  
      """
  
      binary_array = np.round(np.random.uniform(0, 1, size))
  
      return binary_array
  
imports: import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: generate_binary_random_number(size) and returns: binary_array