DNA assembles that can perform "OR" and "AND" logic gate operations were fabricated. The feasibility of intelligent logic controlled release was demonstrated through the controlled organization of gold nanoparticles on the surface of mesoporous silica by stimuli-induced structural transformation of DNA ensembles.