diff --git a/news/logical_op_aliases.rst b/news/logical_op_aliases.rst
new file mode 100644
index 00000000..0f0bcd40
--- /dev/null
+++ b/news/logical_op_aliases.rst
@@ -0,0 +1,28 @@
+**Added:**
+
+* <news item>
+
+**Changed:**
+
+* <news item>
+
+**Deprecated:**
+
+* <news item>
+
+**Removed:**
+
+* <news item>
+
+**Fixed:**
+
+* Logical operators in aliases are now executed as expected, e.g.
+  ``aliases['echocat'] = 'echo "hi" and echo "there"'`` will, when run, return
+
+  .. code-block::
+     hi
+     there
+
+**Security:**
+
+* <news item>
diff --git a/xonsh/aliases.py b/xonsh/aliases.py
index 3c5d9ed9..54d818f2 100644
--- a/xonsh/aliases.py
+++ b/xonsh/aliases.py
@@ -44,7 +44,7 @@ import xonsh.xoreutils.which as xxw
 
 @lazyobject
 def SUB_EXEC_ALIAS_RE():
-    return re.compile(r"@\(|\$\(|!\(|\$\[|!\[")
+    return re.compile(r"@\(|\$\(|!\(|\$\[|!\[|\&\&|\|\||and|or")
 
 
 class Aliases(cabc.MutableMapping):

Aliases containig logical subprocess operators not handled properly
Consider these three aliases:
```
┌─12-15:40 [confus@confusion /tmp/tmp.w8lR957tJh]                           😱  😱
└$ tail ~/.xonshrc -n8
# Working alias:
aliases['envpy2']='echo "layout python2" > .envrc; direnv allow .'

# Broken alias:
aliases['envpy3']='echo "layout python3" > .envrc && direnv allow .'

# Even more broken alias:
aliases['envnorrr']='echo "layout python2" && echo test'
```
When executing these, only the py2 one behaves as expected:
```
┌─12-15:40 [confus@confusion /tmp/tmp.w8lR957tJh]                           😱  😱
└$ envpy2                                                                                                                                                                        
direnv: loading .envrc
New python executable in /tmp/tmp.w8lR957tJh/.direnv/python-2.7.15+/bin/python2
Also creating executable in /tmp/tmp.w8lR957tJh/.direnv/python-2.7.15+/bin/python
Installing setuptools, pip, wheel...
done.
Running virtualenv with interpreter /usr/bin/python2
direnv: export +VIRTUAL_ENV -PS2 ~PATH

┌─12-15:40 [confus@confusion /tmp/tmp.w8lR957tJh]                           😱  😱
└$ envpy3                                                                                                                                                                        
layout python3 > .envrc anddirenv allow .

┌─12-15:40 [confus@confusion /tmp/tmp.w8lR957tJh]                           😱  😱
└$ envnorrr                                                                                                                                                                      
layout python2 andecho test
```

The others are broken because of  the logical operator between commands. Also stream redirection, which is the difference between `envpy3` and `envnorrr` (note the literal `and` instead of `&&` in alias definition) seems to make them behave differently.

<details>
  <summary>xonsh version and details</summary>

    
    $ xonfig                                                                              
    +------------------+----------------------+
    | xonsh            | 0.9.10               |
    | Git SHA          | 550d70d2             |
    | Commit Date      | May 22 01:42:07 2019 |
    | Python           | 3.6.8                |
    | PLY              | 3.11                 |
    | have readline    | True                 |
    | prompt toolkit   | 2.0.9                |
    | shell type       | prompt_toolkit2      |
    | pygments         | 2.4.0                |
    | on posix         | True                 |
    | on linux         | True                 |
    | distro           | ubuntu               |
    | on darwin        | False                |
    | on windows       | False                |
    | on cygwin        | False                |
    | on msys2         | False                |
    | is superuser     | False                |
    | default encoding | utf-8                |
    | xonsh encoding   | utf-8                |
    | encoding errors  | surrogateescape      |
    +------------------+----------------------+
    
    
    ┌─12-15:40 [confus@confusion /tmp/tmp.w8lR957tJh]                           😱  😱
    └$ alias | grep env
    envpy2=ExecAlias('echo "layout python2" > .envrc; direnv allow .\n', filename='<exec-alias:envpy2>')
    envpy3=ExecAlias('echo "layout python3" > .envrc; direnv allow .\n', filename='<exec-alias:envpy3>')
    envnorrr=['echo', 'layout python2', 'andecho', 'test']
    

</details>
diff --git a/tests/test_aliases.py b/tests/test_aliases.py
index b6020453..0bc2ab89 100644
--- a/tests/test_aliases.py
+++ b/tests/test_aliases.py
@@ -7,7 +7,7 @@ import os
 import pytest
 
 import xonsh.built_ins as built_ins
-from xonsh.aliases import Aliases
+from xonsh.aliases import Aliases, ExecAlias
 from xonsh.environ import Env
 
 from tools import skip_if_on_windows
@@ -113,3 +113,18 @@ def test_recursive_callable_partial_none(xonsh_execer, xonsh_builtins):
     args, obs = alias()
     assert args == "wakka"
     assert len(obs) == 0
+
+@pytest.mark.parametrize(
+    "alias",
+    [
+        "echo 'hi' and echo 'there'",
+        "echo 'hi' or echo 'there'",
+        "echo 'hi' && echo 'there'",
+        "echo 'hi' || echo 'there'",
+        "echo 'hi';  echo 'there'",
+    ],
+)
+def test_subprocess_logical_operators(xonsh_execer, xonsh_builtins, alias):
+    ales = make_aliases()
+    ales["echocat"] = alias
+    assert isinstance(ales["echocat"], ExecAlias)

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest
3.7
requirements/docs.txt requirements/tests.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
alabaster==0.7.13
Babel==2.14.0
black==23.3.0
certifi @ file:///croot/certifi_1671487769961/work/certifi
cffi==1.15.1
cfgv==3.3.1
charset-normalizer==3.4.1
click==8.1.8
cloud-sptheme==1.10.1.post20200504175005
codecov==2.1.13
coverage==7.2.7
cryptography==44.0.2
cycler==0.11.0
distlib==0.3.9
doctr==1.9.0
docutils==0.19
exceptiongroup==1.2.2
filelock==3.12.2
flake8==3.9.2
fonttools==4.38.0
identify==2.5.24
idna==3.10
imagesize==1.4.1
importlib-metadata==6.7.0
iniconfig==2.0.0
Jinja2==3.1.6
kiwisolver==1.4.5
MarkupSafe==2.1.5
matplotlib==3.5.3
mccabe==0.6.1
mypy-extensions==1.0.0
nodeenv==1.9.1
numpy==1.21.6
numpydoc==1.5.0
packaging==24.0
pathspec==0.11.2
Pillow==9.5.0
platformdirs==4.0.0
pluggy==1.2.0
pre-commit==2.21.0
prompt_toolkit==3.0.48
psutil==7.0.0
py==1.11.0
pycodestyle==2.7.0
pycparser==2.21
pyflakes==2.3.1
Pygments==2.17.2
pyparsing==3.1.4
pytest==7.4.4
pytest-cov==4.1.0
pytest-flake8==1.1.0
pytest-timeout==2.3.1
python-dateutil==2.9.0.post0
pytz==2025.2
PyYAML==6.0.1
pyzmq==26.2.1
requests==2.31.0
six==1.17.0
snowballstemmer==2.2.0
Sphinx==5.3.0
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
tomli==2.0.1
tornado==6.2
typed-ast==1.5.5
typing_extensions==4.7.1
urllib3==2.0.7
virtualenv==20.26.6
wcwidth==0.2.13
-e git+https://github.com/xonsh/xonsh.git@59a042010f95e62f3be91368bd866a8580273174#egg=xonsh
zipp==3.15.0

name: xonsh
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2022.12.7=py37h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=22.3.1=py37h06a4308_0
  - python=3.7.16=h7a1cb2a_0
  - readline=8.2=h5eee18b_0
  - setuptools=65.6.3=py37h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.38.4=py37h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - alabaster==0.7.13
      - babel==2.14.0
      - black==23.3.0
      - cffi==1.15.1
      - cfgv==3.3.1
      - charset-normalizer==3.4.1
      - click==8.1.8
      - cloud-sptheme==1.10.1.post20200504175005
      - codecov==2.1.13
      - coverage==7.2.7
      - cryptography==44.0.2
      - cycler==0.11.0
      - distlib==0.3.9
      - doctr==1.9.0
      - docutils==0.19
      - exceptiongroup==1.2.2
      - filelock==3.12.2
      - flake8==3.9.2
      - fonttools==4.38.0
      - identify==2.5.24
      - idna==3.10
      - imagesize==1.4.1
      - importlib-metadata==6.7.0
      - iniconfig==2.0.0
      - jinja2==3.1.6
      - kiwisolver==1.4.5
      - markupsafe==2.1.5
      - matplotlib==3.5.3
      - mccabe==0.6.1
      - mypy-extensions==1.0.0
      - nodeenv==1.9.1
      - numpy==1.21.6
      - numpydoc==1.5.0
      - packaging==24.0
      - pathspec==0.11.2
      - pillow==9.5.0
      - platformdirs==4.0.0
      - pluggy==1.2.0
      - pre-commit==2.21.0
      - prompt-toolkit==3.0.48
      - psutil==7.0.0
      - py==1.11.0
      - pycodestyle==2.7.0
      - pycparser==2.21
      - pyflakes==2.3.1
      - pygments==2.17.2
      - pyparsing==3.1.4
      - pytest==7.4.4
      - pytest-cov==4.1.0
      - pytest-flake8==1.1.0
      - pytest-timeout==2.3.1
      - python-dateutil==2.9.0.post0
      - pytz==2025.2
      - pyyaml==6.0.1
      - pyzmq==26.2.1
      - requests==2.31.0
      - six==1.17.0
      - snowballstemmer==2.2.0
      - sphinx==5.3.0
      - sphinxcontrib-applehelp==1.0.2
      - sphinxcontrib-devhelp==1.0.2
      - sphinxcontrib-htmlhelp==2.0.0
      - sphinxcontrib-jsmath==1.0.1
      - sphinxcontrib-qthelp==1.0.3
      - sphinxcontrib-serializinghtml==1.1.5
      - tomli==2.0.1
      - tornado==6.2
      - typed-ast==1.5.5
      - typing-extensions==4.7.1
      - urllib3==2.0.7
      - virtualenv==20.26.6
      - wcwidth==0.2.13
      - zipp==3.15.0
prefix: /opt/conda/envs/xonsh

tests/test_aliases.py::test_subprocess_logical_operators[echo
tests/test_aliases.py::test_imports tests/test_aliases.py::test_eval_normal tests/test_aliases.py::test_eval_self_reference tests/test_aliases.py::test_eval_recursive tests/test_aliases.py::test_eval_recursive_callable_partial tests/test_aliases.py::test_recursive_callable_partial_all tests/test_aliases.py::test_recursive_callable_partial_handles tests/test_aliases.py::test_recursive_callable_partial_none
xonsh/aliases.py news/logical_op_aliases.rst
xonsh/aliases.py news/logical_op_aliases.rst