code: def logical_or(
      image1: Image.Image, image2: Image.Image
  ) -> Image.Image:
      """Logical OR between two images.
  
      Both of the images must have mode "1". ::
  
          out = ((image1 or image2) % MAX)
  
      :rtype: :py:class:`~PIL.Image.Image`
      """
  
      image1.load()
      image2.load()
      return image1._new(image1.im.chop_or(image2.im))
  
imports: from __future__ import annotations
  from .None import Image
label_desc: Use image node_id 17 for calling a global function with example usage: logical_or(image1, image2) and returns: image1