Flying over the ocean is safe. Landing in it is not. It is only the squishy, carbon-based organisms in the two front seats of the plane that have trouble seeing in the dark. All the systems on the plane (and on the ground for that matter) work just as well in darkness as they do in light.