Yes. The train links King’s Cross, in Diagon Alley, with Hogsmeade at Universal Islands of Adventure. You need a ticket giving access to both parks on the same day. A one-park-per-day ticket will not let you board, even if you visit both parks on different days.