A higher voltage solar array (e.g. 24V nominal) can be used with a lower voltage battery bank (e.g. 12V nominal) if the controller used is an MPPT controller.
PWM controllers CANNOT be used to charge a lower-voltage battery bank with a higher-voltage solar array. Please use an MPPT style controller if this is required.