This paper presents an integral sliding mode (ISM) control for a case of negative imaginary (NI) systems. A gantry crane system (GCS) is considered in this work. ISM is a nonlinear control method introducing significant properties of precision, robustness, stress-free tuning and implementation. The GCS model considered in this work is derived based on the x direction and sway motion of the payload. The GCS is a negative imaginary (NI) system with a single pole at the origin. ISM consist of two blocks; the inner block made up of a pole placement controller (NI controller), designed using linear matrix inequality for robustness and outer block made up of sliding mode control to reject disturbances. The ISM is designed to control position tracking and anti-swing payload motion. The robustness of the control scheme is tested with an input disturbance of a sine wave signal. The simulation results show the effectiveness of the control scheme.