The only way possible to transfer Legendary Pokemon to the games X and Y, is to
use Pokemon Bank.
Pokemon Bank is an application for your 3DS, and will allow you to transfer Pokemon
from your older games for Free for a short time after downloading, and beyond that time you have to pay.
You can transfer almost any Pokemon using this, too.