Logic cannot slave to MIDI clock. It can slave to MTC (MIDI Time Code) but the A4 is not able to send MTC.
So unless you have some other syncing method available (InnerClock Sync Gen II is highly recommended, but not cheap) you will have to live with slaving the A4 to the Logic MIDI clock, which is “ok” but not very stable.
Peace,
Andy.