There is no dedicated sleeper train from Toronto to New York. The Amtrak Maple Leaf service between these cities is a daytime train. For overnight travel, you'd need to make connections and possibly stay overnight en route.