It's usually both. There is usually a ground and 2 hot leads on the bilge pump. The circuit is usually wired with a dedicated hot and a hot from the switch at the helm. The dedicated hot should go to a float switch, then from the float switch to the pump. some pumps have internal float switches.
Take a look at whether there are 2 wires or 3 wires going to the existing bilge pump location.