Logical networks