Crystal input with one pin?
Since you are using Nucleo, the MCU that handles the ST-LINK debugging has the crystal oscillator, and it provides a square wave clock out to the target MCU. It is the MCO pin that can fed to two pins in the target MCU.