Theoretical study of a topological layered metastructure integrating NOR logic gate and multiphysical sensing functions | Synapse