For AA to BA transfers at YYZ (e.g., ORD-YYZ-LHR) one has to claim their checked luggage and clear Canadian immigration/customs formalities and then re-check in their luggage landside ... and yet again clear security.
I don't enjoy the AA -> BA transfers at YYZ.