The proposed study is an open-label, two-center, randomized, cross-over study to evaluate the safety and efficacy of night closed-loop control using the MD-Logic automated insulin delivery system compared to sensor augmented pump therapy in poorly controlled patients with type 1 diabetes at home The objective of this pilot study is to evaluate the safety and efficacy of 4 weeks glucose control using the MD-Logic System in individuals with poorly controlled type 1 diabetes at patient's home