No, you must purchase passes to both parks. They ask you to scan your ticket before you can proceed forward in the line to get on the train. You will want to purchase tickets to both as Universal Studios has Diagon Alley and Islands of Adventure has Hogsmeade and Hogwarts castle.