Nanocomposites consisting of one-dimensional (1D) crystals of the cationic conductors CuI, CuBr and AgBr inside single-walled carbon nanotubes, mainly (n, 0), were obtained using the capillary technique. 1D crystal structure models were proposed based on the high resolution transmission electron microscopy performed on a FEI Titan 80–300 at 80 kV with aberration correction. According to the models and image simulations there are two modifications of 1D crystal: hexagonal close-packed bromine (iodine) anion sublattice (growth direction <001>) and 1D crystal cubic structure (growth direction <112>) compressed transversely to the nanotube (Dm∼1.33 nm) axis. Tentatively this kind of 1D crystal can be considered as monoclinic. One modification of the anion sublattice reversibly transforms into the other inside the nanotube, probably initiated by electron beam heating. As demonstrated by micrographs, copper or silver cations can occupy octahedral positions or are statistically distributed across two tetrahedral positions. A 1DAgBr@SWNT (18, 0; 19, 0) pseudoperiodic ‘lattice distortion' is revealed resulting from convolution of the nanotube wall function image with 1D cubic crystal function image.